package com.example.demo.domain;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
//@Component
public class Sequence implements Serializable {
    private String name;

    private int nextId;

    public Sequence(String name,int nextId){
        this.name=name;
        this.nextId=nextId;
    }
}
